package com.ruoyi.bysj.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货物配送对象 sys_delivery
 * 
 * @author laow
 * @date 2021-10-19
 */
public class SysDelivery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配送单号 */
    private Long deliveryId;

    /** 配送工位 */
    @Excel(name = "配送工位")
    private String groupStation;

    /** 提交人 */
    @Excel(name = "提交人")
    private String createName;

    /** 配送员 */
    @Excel(name = "配送员")
    private String deliveryName;

    /** 配送状态 */
    @Excel(name = "配送状态")
    private String deliveryState;

    /** 角色组 */
    private List<Long> goodsIds;

    /** 货物名称 */
    @Excel(name = "货物名称")
    private List<String> goodsNames;

    /** 货物数量 */
    @Excel(name = "货物数量")
    private Long goodsNum;

    /** 货物分类 */
    @Excel(name = "货物分类")
    private String goodsClass;

    /** 货物原价 */
    @Excel(name = "货物原价")
    private BigDecimal goodsCost;

    /** 货物定价 */
    @Excel(name = "货物定价")
    private BigDecimal goodsPrice;

    /** 生产地址 */
    @Excel(name = "生产地址")
    private String goodsProduction;

    /** 货物位置 */
    @Excel(name = "货物位置")
    private String goodsAddress;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryTime;

    public void setDeliveryId(Long deliveryId) 
    {
        this.deliveryId = deliveryId;
    }

    public Long getDeliveryId() 
    {
        return deliveryId;
    }
    public void setGroupStation(String groupStation) 
    {
        this.groupStation = groupStation;
    }

    public String getGroupStation() 
    {
        return groupStation;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setDeliveryName(String deliveryName) 
    {
        this.deliveryName = deliveryName;
    }

    public String getDeliveryName() 
    {
        return deliveryName;
    }
    public void setDeliveryState(String deliveryState) 
    {
        this.deliveryState = deliveryState;
    }

    public String getDeliveryState() 
    {
        return deliveryState;
    }
    public void setDeliveryTime(Date deliveryTime) 
    {
        this.deliveryTime = deliveryTime;
    }

    public Date getDeliveryTime() 
    {
        return deliveryTime;
    }

    public List<Long> getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(List<Long> goodsIds) {
        this.goodsIds = goodsIds;
    }

    public void setGoodsNames(List<String> goodsNames)
    {
        this.goodsNames = goodsNames;
    }

    public List<String> getGoodsNames()
    {
        return goodsNames;
    }
    public void setGoodsNum(Long goodsNum)
    {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum()
    {
        return goodsNum;
    }
    public void setGoodsClass(String goodsClass)
    {
        this.goodsClass = goodsClass;
    }

    public String getGoodsClass()
    {
        return goodsClass;
    }
    public void setGoodsCost(BigDecimal goodsCost)
    {
        this.goodsCost = goodsCost;
    }

    public BigDecimal getGoodsCost()
    {
        return goodsCost;
    }
    public void setGoodsPrice(BigDecimal goodsPrice)
    {
        this.goodsPrice = goodsPrice;
    }

    public BigDecimal getGoodsPrice()
    {
        return goodsPrice;
    }
    public void setGoodsProduction(String goodsProduction)
    {
        this.goodsProduction = goodsProduction;
    }

    public String getGoodsProduction()
    {
        return goodsProduction;
    }
    public void setGoodsAddress(String goodsAddress)
    {
        this.goodsAddress = goodsAddress;
    }

    public String getGoodsAddress()
    {
        return goodsAddress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliveryId", getDeliveryId())
            .append("groupStation", getGroupStation())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("deliveryName", getDeliveryName())
            .append("deliveryState", getDeliveryState())
            .append("deliveryTime", getDeliveryTime())
            .append("goodsIds", getGoodsIds())
            .append("goodsNames", getGoodsNames())
            .toString();
    }
}
